<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<?=$this->headTitle("TVO shoppee.com")?>
<meta name="Description" content="TVO shoppee.com offers your favorite Brand Hair Care and Beauty Supply Products Such as Flat Irons, Curling Irons, Hair Setters, Hair Dryers, Shampoo & Conditioners." lang="vn" xml:lang="vn" />
<link rel="icon" type="image/vnd.microsoft.icon" href="favicon.png" />
<link rel="shortcut icon" type="image/x-icon" href="favicon.png" />
<meta name="Keywords" content="Beauty, Supply, Hair, Care, Products, Shampoo-s, Conditioner-s. Nails, Skin, Furniture, Spa, Cosmetics, Dryers, Flat Iron, Curling Iron, Hair Dryer" lang="vn" xml:lang="vn" />
<meta name="language" content="VN" />
<meta name="site-languages" content="Vietnamese" />
<meta name="Content-Language" content="vn-VN" />
<link href="<?=$this->baseUrl("templates/admin/")?>fancybox/jquery.fancybox-1.3.4.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="<?=$this->baseUrl("templates/default/")?>css/nivo-slider.css" type="text/css" media="screen" />
<link href="<?=$this->baseUrl("templates/default/")?>css/ui-lightness/jquery-ui-1.8.22.custom.css" rel="stylesheet" type="text/css" />
<link href="<?=$this->baseUrl("templates/default/")?>css/style.css" rel="stylesheet" type="text/css" media="screen" />
<link href="<?=$this->baseUrl("templates/default/")?>css/menu.css" rel="stylesheet" type="text/css" />

<script src="<?=$this->baseUrl("templates/default/")?>Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
<script type="text/javascript" src="<?=$this->baseUrl("templates/default/")?>Scripts/jquery-1.6.1.min.js" ></script>
<script type="text/javascript" src="<?=$this->baseUrl("templates/default/")?>Scripts/jquery.nmcDropDown.min.js" ></script>
<script type="text/javascript" src="<?=$this->baseUrl("templates/default/")?>Scripts/lib.js"></script>
<script type="text/javascript" src="<?=$this->baseUrl("templates/default/")?>Scripts/jquery-ui-1.8.22.custom.min.js"></script>
<script src="<?=$this->baseUrl("templates/default/")?>Scripts/jcarousellite_1.0.1c4.js" type="text/javascript"></script>
<script src="<?=$this->baseUrl("templates/admin/")?>fancybox/jquery.mousewheel-3.0.4.pack.js" type="text/javascript"></script>
<script src="<?=$this->baseUrl("templates/admin/")?>fancybox/jquery.fancybox-1.3.4.pack.js" type="text/javascript"></script>
<?=$this->headScript()?>
<script type="text/javascript">
$(function() {
	$(".newsticker-jcarousellite").jCarouselLite({
		vertical: true,
		hoverPause:true,
		visible: 2,
		auto:500,
		speed:1800
	});
    
    $("a.fancybox").fancybox({
		'titlePosition'	: 'inside'	
	});  
});
</script>

<script type="text/javascript">
<!-- 
$(function() {
	$("#menu").nmcDropDown({show: {height: 'show', opacity: 'show'}});
});
// -->
</script>

</head>
<body>

<?php
$auth = Zend_Auth::getInstance();
$username = $auth->getIdentity()->username;
?>
<div id="page">
  <div id="header">  
    <div id="entete">
      <img src="<?=$this->baseUrl("templates/default/")?>images/head.jpg" alt="" />     
      <div class="account">
            <?php if($auth->hasIdentity()){?>
            Welcome:<a href="<?=$this->baseUrl("/user/{$username}")?>"> <?=$auth->getIdentity()->fullname?></a> | <a href="<?=$this->baseUrl("/logout")?>">Logout</a>
            <?php }else{?>
            <a id="cLogin" href="<?=$this->baseUrl("/login")?>">Login</a> | <a href="<?=$this->baseUrl("/registry")?>">Registry</a>
            <script>
            $(function(){
                $("#cLogin").click(function(){                    
                    $(".form-login").dialog({
                        autoOpen: true
                    });
                    return false;
                });
                
                $("#flogin").submit(function(){
                    var username = $(".username").val();
                    var password = $(".password").val();
                    var link = "<?=$this->baseUrl("/user/login")?>";
                    $.post(link,{"user":username,"pass":password},function(rdata){
                        if(rdata==true)
                        {
                            window.location.reload();
                        }
                        else
                        {
                            $(".error").text("Username or password is incorrect!");
                        }
                    },"json");
                    return false;
                });
            })
            </script>
            
            
            <div class="form-login" title="Login" style="display: none;">
                
                <?php //$this->action("login","user","default")?>
                
                <?=$this->render("user/login.phtml")?>
            </div>
            <?php }?>
      </div>
      <div class="giohang">Cart: <a href="<?=$this->baseUrl("/cart")?>">
      <?php
      $cart = new Zend_Session_Namespace("cart");
      echo $cart->total." item";
      ?>      
      </a></div>
      
      <div class="timkiem">
        <div id="timkiem-input">
        <form method="post" action="tim-kiem.html">
          <span class="select-tag"><select id="loaisp" name="loaisp" class="loaisp">
              <?=$this->action("droplist","index","default")?>
          </select></span>
          <div class="searchbox-value">  
              <input type="text" name="searchword" id="mod_search_searchword" style="width:115px;" alt="Search" class="xuly_input textbox-bg" value="Search..." onblur="if(this.value=='') this.value='Search...';" onfocus="if(this.value=='Search...') this.value='';" />
              <input type="submit" value="     " name="search" title="Search" class="input1" />
           </div>
        </form>
        </div>
      </div>
    </div>
    <!-- #entete -->
  </div>
  <!-- #header -->

                            
     <ul id="menu">
        <li><a id="menu0" href="<?=$this->baseUrl("/")?>">Home</a></li>
        <li><a id="menu1" href="javascript:">Categorys</a>
          <ul class="ulgt">
            <?=$this->action("list-category","index","default")?>          			
          </ul>
        </li>
        <li><a id="menu2" href="javascript:">Brands</a>
          <ul class="uldv">
              <?=$this->action("list-brand","index","default")?>      			
          </ul>
       </li>
        <li><a id="menu3" href="<?=$this->baseUrl("/sale")?>">Sale</a></li>
        <li><a id="menu4" href="<?=$this->baseUrl("/bargain")?>">Bargains</a></li>
        <li><a id="menu5" href="<?=$this->baseUrl("/dealset")?>">Deal Set</a></li>
         <li><a id="menu6" href="contact">Contact</a></li>
         <li><a id="menu7">Liên hệ</a></li>
     </ul>
    <!-- #menu -->
            
  <!-- #menu -->
<div id="principale">
<div class="prins">
     <div id="left_column" class="column">
      <!-- Block categories module -->      
      <div class="block">
        <h4>Categories</h4>              
      
      <div class="block_content sidebarmenu">
        <ul class="menudanhmuc" id="sidebarmenu">
            <!-- <li> -->
            <?=$this->action("list-category","index","default")?>
            <!-- </li> --> 
        </ul>
        </div>
      </div>
      
      <div class="block">
        <h4>News</h4>
        <?=$this->action("news-list","index","default")?>
      </div>
      
      <div class="block">
        <h4>Brands</h4>               
        <?=$this->action("doi-tac","index","default")?>
      </div>
    </div>
    <!-- #colonneGauche -->
    <div id="center_column">
        <?=$this->layout()->content?>     
      
    </div>
    <!-- #centre -->
    
    <!-- #colonneDroite -->
    <div class="clearb"></div>
    <img src="<?=$this->baseUrl("templates/default/")?>images/linefooter.jpg" alt="" />
    </div>
  </div>
  <!-- #principale -->
<div id="societe">
  <div class="floatleft padleft30"  style="width:170px; margin-left:25px;">
    <p><strong class="whitecolor">Customer Service</strong><br>
      <a href="chi-tiet-tin-tuc.php">Contact Us</a><br>
      <a href="chi-tiet-tin-tuc.php">Privacy Policy</a><br />
      <a href="chi-tiet-tin-tuc.php">Terms of User</a></a></p>
  </div>
  <div class="floatleft padleft30" style="width:170px;">
    <p><strong class="whitecolor">Let's Social</strong><br>
      <a href="chi-tiet-tin-tuc.php">Facebook</a><br />
      <a href="chi-tiet-tin-tuc.php">YouTube</a><br />
  </div>
  <div class="floatleft padleft30" style="width:170px;">
    <p><strong class="whitecolor">About Us</strong><br>
      <a href="chi-tiet-tin-tuc.php">About Us</a><br>
      <a href="chi-tiet-tin-tuc.php">Product</a><br />
      <a href="chi-tiet-tin-tuc.php">Category</a></p>
  </div>
  <div class="floatright padright30 right">
    <p> <strong class="cpright">Copyright 2012 by ABCDENSDSDs</strong></p>
    <div align="right" class="footer_follow_us">
						Follow us on:                    	
                    	<img border="0" src="<?=$this->baseUrl("templates/default/")?>images/icon_twitter.png">
                    	<img border="0" src="<?=$this->baseUrl("templates/default/")?>images/icon_facebook.png">
                    	<img border="0" src="<?=$this->baseUrl("templates/default/")?>images/icon_youtube.png">
                    
				</div>
  </div>
  <div class="clearb"></div>
</div>
  <!-- #adresse -->
</div>
<!-- #page -->
</body>
</html>
